package wkt.exam;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ExamRecord {
    private Long id;
    private Long studentId;
    private Long questionId;
    @TableField(exist = false)
    private Long[] answerId;
    private String basicCode;
    private String type;
    private boolean rights;
    private String state = "NORMAL";
    private LocalDateTime createTime;
    private Long seqId;

    @TableField(exist = false)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private boolean fromWrongBook;
    @TableField(exist = false)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private boolean removeOnAnswerRight;
}

